package com.contacts.model;

public class Contact {
	private int cid;
	private String cname;
	private String ctel;
	private int uid;
	private int tid;
	public int getCid() {
		return cid;
	}
	public void setCid(int cid) {
		this.cid = cid;
	}
	public String getCname() {
		return cname;
	}
	public void setCname(String cname) {
		this.cname = cname;
	}
	public String getCtel() {
		return ctel;
	}
	public void setCtel(String ctel) {
		this.ctel = ctel;
	}
	public int getUid() {
		return uid;
	}
	public void setUid(int uid) {
		this.uid = uid;
	}
	public int getTid() {
		return tid;
	}
	public void setTid(int tid) {
		this.tid = tid;
	}
	@Override
	public String toString() {
		return "Contact [cid=" + cid + ", cname=" + cname + ", ctel=" + ctel + ", uid=" + uid + ", tid=" + tid + "]";
	}
	public Contact(int cid, String cname, String ctel, int uid, int tid) {
		super();
		this.cid = cid;
		this.cname = cname;
		this.ctel = ctel;
		this.uid = uid;
		this.tid = tid;
	}
	public Contact() {
		super();
	}
	

}
